package cn.zhb.backend.repository;

import cn.zhb.backend.core.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

/***
 *@Description
 *@Author ZHB
 *@Create 2025/7/3 下午11:12
 **/
@Repository
public interface UserRepository extends JpaRepository<User, Long> {
    Optional<User> findByAccount(String account);
}
